﻿using System;
using NUnit.Framework;

namespace Ucto.ToExcelConvertor.Tests
{
	[TestFixture]
	public class DataProcessorFixture : BaseFixture
	{
		[Test]
		public void Process()
		{
			// arrange (3x2)
			var dataReader = this.Factory.GetDataReaderMock(6);
			var sheet = this.Factory.GetExcelSheetMock();
			var valueHandler = this.Factory.GetValueToExcelHandler(3, sheet);
			var dataProcessor = new DataProcessor(dataReader, valueHandler);

			// act
			dataProcessor.Process();

			// assert
		}
	}
}
